Google\Site_Kit\Core\Authentication\Clients\OAuth_Client A

Total Complexity 63
Dependencies 17
Dependents 9
Total lines 623
Lines of code 311
Logical lines of code 180
Comment lines 228
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
authorize_user()
B
35 17 82
get_authentication_url()
S
49 5 31
refresh_profile_data()
S
48 4 34
should_update_owner_id()
S
61 5 13
refresh_token()
S
54 4 21
set_granted_scopes()
S
60 3 14
authorize_user_redirect_url()
S
64 3 10
get_unsatisfied_scopes()
S
61 2 13
has_sufficient_scopes()
S
70 2 6
get_proxy_permissions_url()
S
65 2 10
get_access_token()
S
69 2 7
needs_reauthentication()
S
72 2 6
get_refresh_token()
S
66 2 8
get_granted_additional_scopes()
S
79 2 3
revoke_token()
S
70 2 7
__construct()
S
60 1 14
delete_token()
S
72 1 6
set_access_token()
S
64 1 10
set_refresh_token()
S
69 1 6
get_granted_scopes()
S
69 1 7
add_active_consumer()
S
80 1 3